package linear;

import java.util.Arrays;

public class StringToArrayUtil {
    static int[][] stringToArray(String s){
         String testS = "[[1,1,0,0,0],[1,1,0,0,0],[0,0,0,1,1],[0,0,0,1,1]]";
         String[] arr = s.split("]");
        Arrays.stream(arr).forEach(System.out::println);
         return new int[2][];
    }

    public static void main(String[] args) {
        stringToArray("[[1,1,0,0,0],[1,1,0,0,0],[0,0,0,1,1],[0,0,0,1,1]]");

    }
}
